home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / mxlibs / sblib / structur.h < prev    next >
C/C++ Source or Header  |  1994-06-21  |  2KB  |  67 lines

  1. #ifndef STRUCTUR_H
  2. #define STRUCTUR_H
  3.  
  4. #include "type.h"
  5.  
  6. #include "status.h"
  7. #include "cardtype.h"
  8.  
  9.  
  10. typedef struct stc_CARD_INFO
  11. {
  12.    /* Le port IO de la carte.
  13.       ----------------------- */
  14.    unsigned ioPort;
  15.  
  16.    /* L'irq de la carte.
  17.       ------------------ */
  18.    unsigned irq;
  19.  
  20.    /* Le canal DMA pour le transfer 8 bits.
  21.       ------------------------------------- */
  22.    unsigned dmaChanel8;
  23.  
  24.    /* Le canal DMA pour le transfer 16 bits.
  25.       ------------------------------------- */
  26.    unsigned dmaChanel16;
  27.  
  28.    /* La version du dsp de la carte.
  29.       ------------------------------ */
  30.    unsigned char dspMin;
  31.    unsigned char dspMaj;
  32.  
  33.    /* La vitesse d'echantillonage courante.
  34.       ------------------------------------- */
  35.    unsigned samplingRate;
  36.  
  37.    /* Les sampling rate minimum et maximum.
  38.       ------------------------------------- */
  39.    unsigned minSamplingRate;
  40.    unsigned maxSamplingRate;
  41.  
  42.    /* Le type de carte et le nom de la carte.
  43.       --------------------------------------- */
  44.    CARDTYPE cardType;
  45.    char    *cardName;
  46.  
  47.    /* L'adresse du  buffer de donnee a jouer
  48.       ainsi que sa longueur.
  49.       -------------------------------------- */
  50.    char    *outBufPTR;
  51.    unsigned outBufLength;
  52.  
  53.    /* Le file handle a utilise lorsque l'on
  54.       joue un fichier.
  55.       ------------------------------------- */
  56.    int      handle;
  57.  
  58.    /* Le type de fichier a jouer.
  59.       --------------------------- */
  60.    FILE_TYPE fType;
  61.  
  62.    /* L'evenement courrant.
  63.       --------------------- */
  64.    CARD_STATUS event;
  65. };
  66.  
  67. #endif